<template>
  <div>
    <h3 @click="hClick">这个son组件---navite</h3>
  </div>
</template>

<script>
export default {
  props: {
    num: {
      type: Number,
      required: true
    }
  },
  methods: {
    hClick() {
      this.$emit('hClick')
    }
  }
}
</script>

